package com.itqf.entity;

import java.io.Serializable;

public class Address implements Serializable {
    private static final long serialVersionUID =1L;
    private int aId;
    private int userNo;
    private String aname;
    private String phonenumber;
    private String adetail;
    private  int astate;
    private int aid;

    public Address(int aId, int userNo, String aname, String phonenumber, String adetail, int astate) {
        this.aId = aId;
        this.aid = aId;
        this.userNo = userNo;
        this.aname = aname;
        this.phonenumber = phonenumber;
        this.adetail = adetail;
        this.astate = astate;
    }

    public Address() {
    }

    public int getAId() {
        return aId;
    }

    public void setAddressId(int aId) {
        this.aId = aId;
        this.aid = aId;
    }

    public int getaId() {
        return aId;
    }

    public void setaId(int aId) {
        this.aId = aId;
    }

    public int getAid() {
        return aid;
    }

    public void setAid(int aid) {
        this.aid = aid;
    }

    public int getUserNo() {
        return userNo;
    }

    public void setUserNo(int userNo) {
        this.userNo = userNo;
    }

    public String getAname() {
        return aname;
    }

    public void setAname(String aname) {
        this.aname = aname;
    }

    public String getPhonenumber() {
        return phonenumber;
    }

    public void setPhonenumber(String phonenumber) {
        this.phonenumber = phonenumber;
    }

    public String getAdetail() {
        return adetail;
    }

    public void setAdetail(String adetail) {
        this.adetail = adetail;
    }

    public int getAstate() {
        return astate;
    }

    public void setAstate(int astate) {
        this.astate = astate;
    }

    @Override
    public String toString() {
        return "Address{" +
                "userNo='" + userNo + '\'' +
                ", aname='" + aname + '\'' +
                ", phonenumber='" + phonenumber + '\'' +
                ", adetail='" + adetail + '\'' +
                ", astate=" + astate +
                '}';
    }
}
